import { createRouter, createWebHistory } from "vue-router";

import Login from "@/components/Login.vue";
import NotFound from "@/components/404.vue"

const router = createRouter({
    history: createWebHistory(),
    routes: [{
        path: '/login',
        component: Login
    }, {
        path: '/:pathMatch(.*)*', 
        name: 'NotFound', 
        component: NotFound 
    }]
})

export default router